package com.pug;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author 飞哥
 * @Title: 学相伴出品
 * @Description: 飞哥B站地址：https://space.bilibili.com/490711252
 * 记得关注和三连哦！
 * @Description: 我们有一个学习网站：https://www.kuangstudy.com
 * @date 2022/3/16$ 23:47$
 */
@SpringBootApplication
@MapperScan("com.pug.mapper")
@EnableCaching
@EnableMongoRepositories
@EnableAsync //开启注解
//@EnableScheduling
public class TravelsWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(TravelsWebApplication.class);
    }

}
